package genome;

import static org.junit.Assert.*;

import java.util.ArrayList;

import org.junit.Before;
import org.junit.Test;

public class GGTTest {

	GGT g1;
	double[] dInput = {0.0};
	
	@Before
	public void setUp() throws Exception {
		g1 = new GGT(dInput,6,4,2);
	}

	@Test
	public void testGetSymbolicValues() {
		System.out.println(g1.toMathString());
		double[] d = g1.getSymbolicValues();
		for (int i = 0; i < d.length; i++) {
			System.out.println(d[i]);
		}

	}
	
	@Test
	public void testgenerateSpace(){
		ArrayList<Genotype> space = g1.generateSpace();
		for (Genotype g:space) {
			System.out.println(g+" "+g.toMathString());
		}
	}

}
